package com.joca.scheduling.service;

import java.io.Serializable;
import java.util.Collection;


import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.joca.scheduling.entities.User;

public interface IUserServiceHibernate {

	@CommitAfter
	public User addUser(User user);
	
	public User logIn(User user);

	public Collection<User> getAllUserProfessors();

	public User getUserByID(int userID);
	
}
